package com.ostrich.cloud.ostrichPermission.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色权限关联表
 * </p>
 *
 * @author Lucas
 * @since 2022-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("role_perm")
@ApiModel(value="RolePerm对象", description="角色权限关联表")
public class RolePerm implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "role_prem_id", type = IdType.AUTO)
    private Integer rolePremId;

    private Integer roleId;

    private Integer permId;


}
